package ru.nnstu.medialib.server;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import ru.nnstu.medialib.domain.Album;
import ru.nnstu.medialib.domain.Artist;
import ru.nnstu.medialib.domain.Author;
import ru.nnstu.medialib.domain.Book;
import ru.nnstu.medialib.domain.Photo;
import ru.nnstu.medialib.domain.PhotoAlbum;
import ru.nnstu.medialib.domain.Song;
import ru.nnstu.medialib.domain.Video;

public interface Server extends Remote {
	public List<Artist> listArtist() throws RemoteException;

	public List<Album> listAlbum() throws RemoteException;

	public List<Song> listSong() throws RemoteException;

	public List<Author> listAuthor() throws RemoteException;

	public List<Book> listBook() throws RemoteException;

	public List<PhotoAlbum> listPhotoAlbum() throws RemoteException;

	public List<Photo> listPhoto() throws RemoteException;

	public List<Video> listVideo() throws RemoteException;
}
